package com.gs.SynAntiWandering.view;

import com.gs.SynAntiWandering.apiresult.ApiResultData;
import com.gs.SynAntiWandering.apiresult.PagedList;
import com.gs.SynAntiWandering.db.dto.ShortDto;
import com.gs.SynAntiWandering.db.dto.MemberDto;

import java.util.List;

public interface IMemberView extends IView {
    void onGetDataSuccess(ApiResultData<PagedList<MemberDto>> apiResult);
    void onGetDataFails(Exception e);

    void onGetComboSuccess(ApiResultData<List<ShortDto>> apiResult);
    void onGetComboFails(Exception msg);

    void onDeleteMemberSuccess(ApiResultData<String> apiResultData, int position);

    void onDeleteMemberFails(Exception msg);
}
